const express = require('express');
const app = express();
const PORT = process.env.PORT || 3000;

// 简单的测试路由
app.get('/', (req, res) => {
  res.send('服务器测试成功！');
});

// 启动服务器
app.listen(PORT, () => {
  console.log(`测试服务器运行在 http://localhost:${PORT}`);
});